package com.xtxk.utils.sqlite;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 运维配置信息
 * @author shenyijie
 *
 */
@ApiModel(value="系统设置对象", description="系统设置对象")
public class SettingInfo {
	
	public SettingInfo() {
		super();
	}

	public SettingInfo(String center_ip, String center_port, String link_type, Integer open_encryption,
			Integer agreement_type, String dSU_IP, String dSU_PORT, String yW_SERVICE_IP, String operator_mac) {
		super();
		this.center_ip = center_ip;
		this.center_port = center_port;
		this.link_type = link_type;
		this.open_encryption = open_encryption;
		this.agreement_type = agreement_type;
		this.DSU_IP = dSU_IP;
		this.DSU_PORT = dSU_PORT;
		this.YW_SERVICE_IP = yW_SERVICE_IP;
		this.operator_mac = operator_mac;
	}

	//中心ip
	@ApiModelProperty(value = "中心ip",required=true)
	private String  center_ip;
	//中心端口
	@ApiModelProperty(value = "中心端口",required=true)
	private String  center_port;
	//连接方式 directplay、udx、dtls
	@ApiModelProperty(value = "连接方式",notes="directplay、udx、dtls",required=true)
	private String  link_type;
	//是否加密 0:关闭 1：开启
	@ApiModelProperty(value = "是否加密",notes=" 0:关闭 1：开启",required=true)
	private Integer  open_encryption;
	
	//协议类型 0:http 1:https
	@ApiModelProperty(value = "协议类型",notes=" 0:http 1:https",required=true)
	private Integer  agreement_type;
	
	//DSU服务IP
	@ApiModelProperty(value = "DSU服务IP",notes="DSU服务IP",required=true)
	private String  DSU_IP;
	
    //DSU服务端口
	@ApiModelProperty(value = "DSU服务端口",notes="DSU服务端口",required=true)
	private String  DSU_PORT;
	
	//DSU服务端口
	@ApiModelProperty(value = "运维服务ip",notes="运维服务ip",required=true)
	private String  YW_SERVICE_IP;
	
	/*//数据库ip
	@ApiModelProperty(value = "数据库ip",required=true)
	private String  db_ip;
	//数据库端口
	@ApiModelProperty(value = "数据库端口",required=true)
	private String  db_port;
	//数据库用户名
	@ApiModelProperty(value = "数据库用户名",required=true)
	private String  db_username;
	//数据库密码
	@ApiModelProperty(value = "数据库密码",required=true)
	private String  db_pwd;
	*/
	/**
	 * 操作人的电脑ip地址
	 */
	@ApiModelProperty(value = "请求者电脑mac地址",required=false,hidden=true)
	private String operator_mac;

	public String getCenter_ip() {
		return center_ip;
	}

	public void setCenter_ip(String center_ip) {
		this.center_ip = center_ip;
	}

	public String getCenter_port() {
		return center_port;
	}

	public void setCenter_port(String center_port) {
		this.center_port = center_port;
	}

	public String getLink_type() {
		return link_type;
	}

	public void setLink_type(String link_type) {
		this.link_type = link_type;
	}

	public Integer getOpen_encryption() {
		return open_encryption;
	}

	public void setOpen_encryption(Integer open_encryption) {
		this.open_encryption = open_encryption;
	}

	public Integer getAgreement_type() {
		return agreement_type;
	}

	public void setAgreement_type(Integer agreement_type) {
		this.agreement_type = agreement_type;
	}

	public String getDSU_IP() {
		return DSU_IP;
	}

	public void setDSU_IP(String dSU_IP) {
		DSU_IP = dSU_IP;
	}

	public String getDSU_PORT() {
		return DSU_PORT;
	}

	public void setDSU_PORT(String dSU_PORT) {
		DSU_PORT = dSU_PORT;
	}

	public String getYW_SERVICE_IP() {
		return YW_SERVICE_IP;
	}

	public void setYW_SERVICE_IP(String yW_SERVICE_IP) {
		YW_SERVICE_IP = yW_SERVICE_IP;
	}

	public String getOperator_mac() {
		return operator_mac;
	}

	public void setOperator_mac(String operator_mac) {
		this.operator_mac = operator_mac;
	}

	
	

}
